<?php

// Default constraints
$strings['required'] = '{1} is required.';
$strings['numeric'] = '{1} must be a number.';
$strings['natural'] = '{1} must be a natural number.';
$strings['min_value'] = '{1} must not be less than {2}.';
$strings['max_value'] = '{1} must not be greater than {2}.';
$strings['less_than'] = '{1} must be less than {2}.';
$strings['greater_than'] = '{1} must be greater than {2}.';
$strings['between'] = '{1} must not be less than {2} or greater than {3}.';
$strings['min_length'] = '{1} must not be shorter than {2} {2:inflect[character,characters]}.';
$strings['max_length'] = '{1} must not be longer than {2} {2:inflect[character,characters]}.';
$strings['longer_than'] = '{1} must be longer than {2} {2:inflect[character,characters]}.';
$strings['shorter_than'] = '{1} must be shorter than {2} {2:inflect[character,characters]}.';

$strings['valid_date'] = '{1} must be a valid date.';
$strings['file_upload_failed'] = 'Could not upload the file.';
$strings['file_upload_size_error'] = 'File is too big.';
$strings['file_upload_internal_error'] = 'Uploading could not be complete.';

// Aliases
$strings['gt'] = $strings['greater_than'];
$strings['gte'] = $strings['min_value'];
$strings['greater_than_or_equal'] = $strings['min_value'];
$strings['lt'] = $strings['less_than'];
$strings['lte'] = $strings['max_value'];
$strings['less_than_or_equal'] = $strings['max_value'];
